package com.fleapx.share.rabbit.miss;

import com.fleapx.share.rabbit.Utils;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;

import java.io.IOException;
import java.util.concurrent.TimeoutException;

/**
 * 生产者是否真的将消息发送到服务端
 *
 * @author zengchao
 * @date 2021-05-12 18:00:00
 */
public class App1 {
    public static void main(String[] args) throws IOException, TimeoutException {
        ConnectionFactory factory = Utils.getFactory();
        Connection connection = factory.newConnection();
        Channel channel = connection.createChannel();



    }
}
